<?php
ini_set('arg_separator.output', ';');  
//ini_set('arg_separator.input', '&');	  // Every character in this directive is considered as separator!


$a = array();
$a['a'] = '12';
$a['b'] = 'test';

echo http_build_query($a);
?>